package com.ruoyi.controller;

import com.ruoyi.domain.BusinessOrder;
import com.ruoyi.services.BusinessOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping(value ="/order")
public class OrderController {
    @Autowired
    private BusinessOrderService orderService;
            //查询订单
    @GetMapping(value ="PayFilelist")
    public List<BusinessOrder> PayFilelist(){
        return orderService.PayFilelist();
    }
}
